<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input type="text" name="" id="" v-model='message.b'>
        <div></div>
        <ul>
            <li>{{a}},{{b}}</li>
        </ul>
       {{message.b}}
    </div>
    <script src="wather.js"></script>
    <script src="observer.js"></script>
    <script src="compile.js"></script>
    <script src="MVVM.js"></script>
    <script>
    var vm=new MVVM({
        el:'#app',
        data:{
            a:'1',
            message:{
                b:'hello'
            },
            b:0
        }
    })
    </script>
</body>
</html>